Repository navigation
fix(models): Antigravity offers Gemini 4 as current and defaults to Neon - #41604
michael-grier wants to merge 2 commits into
Conversation
Antigravity reports Gemini 4 models with the effort level in the slug (gemini-4-neon-high, gemini-4-argon-medium, ...). The manifest listed none of them, so all of them were classified as legacy, and its chat default pinned new threads to Gemini 3.8 Flash. List the Neon, Argon, and Hydrogen effort variants as current and make Gemini 4 Neon (High) the default. Accounts without Neon keep falling back to Antigravity's own default. Written with Claude Opus 5.5 in Claude Code.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Antigravity 1.5 reports base slugs (gemini-4-neon, gemini-4-hydrogen) and carries effort as a separate thought_level option. The previous default, gemini-4-neon-high, only matches pre-1.5 runtimes, so current clients kept Antigravity's own default (GPT-OSS 120B on the account tested). List the base slugs as current and default to gemini-4-neon. The suffixed entries stay for 0.0.x clients still on pre-1.5 runtimes. Written with Claude Opus 5.5 in Claude Code.
Problem
Antigravity's model catalog in the manifest doesn't know about Gemini 4 Neon or Hydrogen, and its chat default is
gemini-3.8-flash-high. The result depends on which runtime is installed:agy_acp_server_1.1.1on T3 Code 0.0.40). Antigravity reports effort-suffixed slugs (gemini-4-neon-high,gemini-4-argon-medium, ...). None of them are listed, soisLegacyModelmarks every Gemini 4 model as legacy, and the default moves to Gemini 3.8 Flash (High).gemini-4-neon,gemini-4-hydrogen) with effort in a separatethought_leveloption. The manifest's default isn't offered, so T3 keeps Antigravity's own default. On the Google AI Pro account I tested, that was GPT-OSS 120B (Medium), not Gemini 4 Neon.Change
Manifest data only:
gemini-4-neonandgemini-4-hydrogenare listed as current.gemini-4-argonalready was.gemini-4-neon, so 1.5 runtimes default to Gemini 4 Neon. The default only applies when the account offers that slug, so accounts without Neon keep Antigravity's own default.currentModels. This stops 0.0.x clients that are still on pre-1.5 runtimes from labeling them legacy.updatedAtis bumped.Scope
A small fix for an obvious bug, so there's no issue for it: new Gemini models showed as legacy, and new threads defaulted to an older or off-family model.
Verification
I ran the model lists Antigravity reported on both setups through the same rules the client uses, against the edited manifest. On 0.0.40 with the 1.1.1 runtime, these are
isLegacyModelandapplyManifestDefault; on 0.1.11 with the 1.5.15 runtime,classifyCatalogModelsandapplyCatalogDefault. Before this change, the 0.0.40 run marked all 11 Gemini 4 slugs legacy and defaulted togemini-3.8-flash-high, and the 0.1.11 run defaulted togpt-oss-120b-medium. With the edited manifest, nothing comes out legacy on either setup. On 0.1.11 the default becomesgemini-4-neon. On 0.0.40 neither the old nor the new default slug is offered, so the runtime's own default stands instead of 3.8 Flash. The catalog still passes the schema's reference checks: slugs are unique and the default is a listed model. On 0.1.11, a T3 delegated task ongemini-4-neonran end to end. I did not runvp run check:changedor theModelManifesttests locally, because this machine doesn't have the Node 26 toolchain.Written with Claude Opus 5.5 in Claude Code.